package cn.com.zero.sample.trade.customer.mapper;

import cn.com.zero.db.annotation.DataSource;
import cn.com.zero.sample.trade.api.po.OrderPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liuxh
 * @version 1.0.0
 * @Description 委托mapper接口
 * @createTime 2022/3/22 14:42
 */
@DataSource("primary")
@Mapper
public interface IPaymentMapper {

    OrderPO getPaymentById(@Param("id") Long id);

    List<OrderPO> getPaymentList();
}
